#include <iostream>
using namespace std;

int main(int argc, char* argv[], char* env[])
{
    cout << "命令行参数表" << endl;
    for(int i = 0; argv[i]; i++)
    {
        cout << i << " : " << argv[i] << endl;
    }

    cout << "环境变量表" << endl;
    for(int i = 0; env[i]; i++)
    {
        cout << i << " : " << env[i] << endl;
    }
    return 0;
}
